const express = require('express');
const router = express.Router();
let count = 1;

router.get('/dashboard/init', async(req, res, next) => {
    const data = {
        message: 'message',
        payload: {
            companyType: 2,
            userName: '测试人员',
            currentCompany:
                {
                    id: 'id79',
                    code: '13246',
                    name: 'FOROUSH VA KHADAMATE PAS AZ FO'
                }
        }
    };
    res.json(data);
});
router.get('/orderSatisfactionRuleInformation/init', async(req, res, next) => {
    const options = {
    };
    const data = {
        message: 'message',
        payload: {
            partSaleOrderTypes: [
                {
                    id: 'id79',
                    typeCode: 'typeCode80',
                    typeName: 'typeName81'
                },
                {
                    id: 'id82',
                    typeCode: 'typeCode83',
                    typeName: 'typeName84'
                }
            ]
        }
    };
    res.json(data);
});
router.get('/partSaleOrder/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false,
            enterprise: {
                id: '1111',
                code: '10145',
                name: '经销商名称',
                country: '外国',
                currency: 1
            },
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                typeCode: 'code1',
                typeName: 'Normal'
            }, {
                id: '2',
                typeCode: 'code2',
                typeName: 'Quarterly'
            }, {
                id: '3',
                typeCode: 'code3',
                typeName: 'Initial'
            }, {
                id: '4',
                typeCode: 'code4',
                typeName: 'Special'
            }, {
                id: '5',
                typeCode: 'code5',
                typeName: 'Emergency'
            }, {
                id: '6',
                typeCode: 'code6',
                typeName: 'VOR'
            }]
        }
    });
});
router.get('/accessoryOrder/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            enterprise: {
                id: '1111',
                code: '10145',
                name: '经销商名称'
            },
            brands: [{
                id: '11111',
                code: 'Exeed',
                name: '星途'
            }],
            types: [
                {
                    id: '1',
                    typeCode: '09',
                    typeName: '精品正常订单',
                    creditCode: 'ZS74',
                    creditDescribe: '精品正常订单(非寄售)',
                    orderReasonCode: 'B07',
                    orderReason: 'Z正常订单'
                },
                {
                    id: '2',
                    typeCode: '10',
                    typeName: '精品直发订单',
                    creditCode: 'ZS74',
                    creditDescribe: '精品正常订单(非寄售)',
                    orderReasonCode: 'B07',
                    orderReason: 'D直发订单'
                }
            ],
        }
    });
});
router.get('/partShipment/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});

router.get('/partSalesPermission/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false,
            currentCompany: {
                id: '1',
                code: '10145',
                name: '北京奇瑞'
            }
        }
    });
});

router.get('/dealerPartAccount/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false,
            currentCompany: {
                id: '1',
                code: '10145',
                name: '北京奇瑞'
            }
        }
    });
});

router.get('/dealerPartArriveClaim/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false
        }
    });
});

router.get('/brand/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            branchId: '1',
            branchCode: 'chery',
            branchName: '北京奇瑞'
        }
    });
});

router.get('/marketDepartment/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isBrandUser: true,
            enterprise: {
                id: '1111',
                code: '10145',
                name: '品牌名称'
            },
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ],
            areas: [
                {
                    id: '1',
                    areaName: '亚太',
 
                },
                {
                    id: '2',
                    areaName: '东南亚',
 
                },
                {
                    id: '3',
                    areaName: '欧洲',
                },
            ]
        }
    });
});

router.get('/partOrderPlan/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            company: {
                id: '1111',
                code: '10145',
                name: '品牌名称',
                currency: 2
            },
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1',
                currency: 2
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2',
                currency: 2
            }, {
                id: '3',
                code: 'code3',
                name: '品牌3',
                currency: 2
            }]
        }
    });
});

router.get('/dealerPartInformation/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false,
            currentCompany: {
                id: '3fd5580c',
                code: '10145',
                name: '北京奇瑞'
            },
            brands: [
                {
                    brandId: 'de872f12',
                    brandCode: 'code1',
                    brandName: '品牌1',
                },
                {
                    brandId: '392e69de',
                    brandCode: 'code2',
                    brandName: '品牌2',
                },
            ],
            tradeMethods: [
                {
                    tradeMethodId: '26e30b7b',
                    tradeMethodCode: '1000',
                    tradeMethodName: '奇瑞股份',
                },
                {
                    tradeMethodId: '52a1ad34',
                    tradeMethodCode: '2020',
                    tradeMethodName: '海外实业',
                },
            ],
        }
    });
});

router.get('/workingDay/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});
router.get('/exchangeRate/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
                },
            ]
        }
    });
});
router.get('/carrier/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});

router.get('/lcCreditManagement/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [
                {
                    id: '1',
                    code: '001',
                    name: 'name1'
                },
                {
                    id: '2',
                    code: '002',
                    name: 'name2'
                },

            ]
        }
    });
});

router.get('/stockRequirement/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                typeCode: 'code1',
                typeName: '订单类型1'
            }, {
                id: '2',
                typeCode: 'code2',
                typeName: '订单类型2'
            }]
        }
    });
});

router.get('/customsClearance/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});

router.get('/picking/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                typeCode: 'code1',
                typeName: '订单类型1'
            }, {
                id: '2',
                typeCode: 'code2',
                typeName: '订单类型2'
            }]
        }
    });
});
router.get('/partInvoice/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/partShipNotice/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ],
            carrier: [
                {
                    id: '1',
                    code: 'code1',
                    name: '货代1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '货代2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '货代3',
                },
            ]
        }
    });
});
     
router.get('/partStock/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});
router.get('/shipmentConfirm/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/partBackOrder/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/partClaim/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            enterprise: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
                address: '上海黄浦区',
                contactNumber: '400-8888-001',
                currency: 1
            }
        }
    });
});

router.get('/partShipmentSignFor/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});
router.get('/partInvoiceExport/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/partShipmentDeliver/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [
                {
                    id: '1',
                    typeCode: 'typecode1',
                    typeName: '订单类型1'
                },
                {
                    id: '2',
                    typeCode: 'typecode2',
                    typeName: '订单类型2'
                }
            ]
        }
    });
});
router.get('/partClaimDecision/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/PartClaimReport/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            enterprise: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            },
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});


router.get('/partOrderPi/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }],
            partSaleOrderTypes: [{
                id: '1',
                typeCode: 'code1',
                typeName: '订单类型1'
            }, {
                id: '2',
                typeCode: 'code2',
                typeName: '订单类型2'
            }],
            currentCompany: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            }
        }
    });
});

router.get('/partClaimCacu/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});

router.get('/partStockDealer/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            currentCompany: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            },
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});
router.get('/accountQuery/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            enterprise: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            },
        }
    });
});
router.get('/returnBalanceQuery/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            enterprise: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            },
        }
    });
});
router.get('/returnDetailedQuery/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            enterprise: {
                id: '1',
                code: 'JXS',
                name: '测试经销商',
            },
        }
    });
});


router.get('/hsCode/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            areas: [{
                id: '1',
                code: 'zh',
                name: '中国'
            }, {
                id: '2',
                code: 'bx',
                name: '巴西'
            }, {
                id: '3',
                code: 'yl',
                name: '伊朗'
            }],
        }
    });
});
router.get('/packingListTrack/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
        }
    });
});
router.get('/partSaleOrderTrack/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                code: 'code1',
                name: 'Normal'
            }, {
                id: '2',
                code: 'code2',
                name: 'Emergency'
            }],
        }
    });
});
router.get('/deliveryOrderTrack/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/part/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});

router.get('/partInvoiceManage/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                typeName: 'Normal'
            }, {
                id: '2',
                name: 'Quarterly'
            }, {
                id: '3',
                name: 'Initial'
            }, {
                id: '4',
                name: 'Special'
            }, {
                id: '5',
                name: 'Emergency'
            }, {
                id: '6',
                name: 'VOR'
            }],
            carriers: [{
                id: '1',
                code: 'code1',
                name: '快递1'
            }, {
                id: '2',
                code: 'code2',
                name: '快递2'
            }],
        }
    });
});

router.get('/partInvoiceTrack/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});
router.get('/partStockReport/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }]
        }
    });
});

router.get('/notice/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            programs: [{
                id: '1',
                code: 'code1',
                name: '栏目1'
            }, {
                id: '2',
                code: 'code2',
                name: '栏目2'
            }],
        }
    });
});

router.get('/packingList/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            partSaleOrderTypes: [{
                id: '1',
                typeCode: 'code1',
                typeName: '栏目1'
            }, {
                id: '2',
                typeCode: 'code2',
                typeName: '栏目2'
            }]
        }
    });
});
router.get('/partDataModifyLog/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            partDataTypes: [{
                id: '1',
                code: 'code1',
                name: '单据类型1'
            }, {
                id: '2',
                code: 'code2',
                name: '单据类型2'
            }],
            brands: [{
                id: '1',
                code: 'code1',
                name: '品牌1'
            }, {
                id: '2',
                code: 'code2',
                name: '品牌2'
            }],
            partSaleOrderTypes: [{
                id: '1',
                code: 'code1',
                name: 'Normal'
            }, {
                id: '2',
                code: 'code2',
                name: 'Emergency'
            }],
        }
    });
});
router.get('/partSalesPrice/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});
router.get('/dealerPartResource/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: false
        }
    });
});
router.get('/planComsatRate/init', (req, res) => {
    count += 1;
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});
router.get('/partOrderSupplies/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            marketDepartments: [
                {
                    id: '1',
                    code: 'code1',
                    name: '大区1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '大区2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '大区3',
                },
            ]
        }
    });
});
router.get('/partOrderRateShipmentDaies/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            isDealerUser: !(count % 2),
            marketDepartments: [
                {
                    id: '1',
                    code: 'code1',
                    name: '大区1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '大区2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '大区3',
                },
            ],
            partSaleOrderTypes: [
                {
                    id: '1',
                    code: 'code1',
                    name: '订单1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '订单2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '订单3',
                },
            ]
        }
    });
});
router.get('/partClaimReportForm/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            brands: [
                {
                    id: '1',
                    code: 'code1',
                    name: '品牌1',
 
                },
                {
                    id: '2',
                    code: 'code2',
                    name: '品牌2',
 
                },
                {
                    id: '3',
                    code: 'code3',
                    name: '品牌3',
                },
            ]
        }
    });
});
router.get('/backOrder/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            content: [
                {
                    id: '1',
                    code: '15661',
                    name: '总代1',
                    country: '巴西'
                },
                {
                    id: '2',
                    code: '17956',
                    name: '总代2',
                    country: '俄罗斯'
                },
                {
                    id: '3',
                    code: '10503',
                    name: '总代3',
                    country: '伊朗'
                },
            ]
        }
    });
});
router.get('/partOrderSatisfyRates/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            content: [
                {
                    id: '1',
                    code: '15661',
                    name: '总代1',
                    country: '巴西'
                },
                {
                    id: '2',
                    code: '17956',
                    name: '总代2',
                    country: '俄罗斯'
                },
                {
                    id: '3',
                    code: '10503',
                    name: '总代3',
                    country: '伊朗'
                },
            ]
        }
    });
});
router.get('/PartExportSales/init', (req, res) => {
    res.json({
        message: '查询成功',
        payload: {
            content: {
                currentSummary: [
                    {
                        id: '1',
                        country: '巴西',
                        yearMonth: 150,
                        yearMonthLast: 120,
                        rate: 30.34
                    },
                    {
                        id: '2',
                        country: '俄罗斯',
                        yearMonth: 350,
                        yearMonthLast: 220,
                        rate: 60.34
                    },
                    {
                        id: '3',
                        country: '日本',
                        yearMonth: 250,
                        yearMonthLast: 220,
                        rate: 25.34
                    },
                    {
                        id: '4',
                        country: '韩国',
                        yearMonth: 450,
                        yearMonthLast: 320,
                        rate: 40.34
                    },
                ],
                summaryDetails: [
                    {
                        id: '1',
                        country: '巴西',
                        yearMonth1: 10,
                        yearMonth2: 20,
                        yearMonth3: 30,
                        yearMonth4: 40,
                        yearMonth5: 50,
                        yearMonth6: 60,
                        yearMonth7: 70,
                        yearMonth8: 80,
                        yearMonth9: 90,
                        yearMonth10: 100,
                        yearMonth11: 110,
                        yearMonth12: 120,
                        yearMonthLast1: 1,
                        yearMonthLast2: 11,
                        yearMonthLast3: 12,
                        yearMonthLast4: 13,
                        yearMonthLast5: 14,
                        yearMonthLast6: 15,
                        yearMonthLast7: 16,
                        yearMonthLast8: 17,
                        yearMonthLast9: 18,
                        yearMonthLast10: 19,
                        yearMonthLast11: 20,
                        yearMonthLast12: 30
                    },
                    {
                        id: '2',
                        country: '俄罗斯',
                        yearMonth1: 10,
                        yearMonth2: 20,
                        yearMonth3: 30,
                        yearMonth4: 40,
                        yearMonth5: 50,
                        yearMonth6: 60,
                        yearMonth7: 70,
                        yearMonth8: 80,
                        yearMonth9: 90,
                        yearMonth10: 100,
                        yearMonth11: 110,
                        yearMonth12: 120,
                        yearMonthLast1: 1,
                        yearMonthLast2: 11,
                        yearMonthLast3: 12,
                        yearMonthLast4: 13,
                        yearMonthLast5: 14,
                        yearMonthLast6: 15,
                        yearMonthLast7: 16,
                        yearMonthLast8: 17,
                        yearMonthLast9: 18,
                        yearMonthLast10: 19,
                        yearMonthLast11: 20,
                        yearMonthLast12: 30
                    },
                    {
                        id: '3',
                        country: '日本',
                        yearMonth1: 10,
                        yearMonth2: 20,
                        yearMonth3: 30,
                        yearMonth4: 40,
                        yearMonth5: 50,
                        yearMonth6: 60,
                        yearMonth7: 70,
                        yearMonth8: 80,
                        yearMonth9: 90,
                        yearMonth10: 100,
                        yearMonth11: 110,
                        yearMonth12: 120,
                        yearMonthLast1: 1,
                        yearMonthLast2: 11,
                        yearMonthLast3: 12,
                        yearMonthLast4: 13,
                        yearMonthLast5: 14,
                        yearMonthLast6: 15,
                        yearMonthLast7: 16,
                        yearMonthLast8: 17,
                        yearMonthLast9: 18,
                        yearMonthLast10: 19,
                        yearMonthLast11: 20,
                        yearMonthLast12: 30
                    },
                    {
                        id: '4',
                        country: '韩国',
                        yearMonth1: 10,
                        yearMonth2: 20,
                        yearMonth3: 30,
                        yearMonth4: 40,
                        yearMonth5: 50,
                        yearMonth6: 60,
                        yearMonth7: 70,
                        yearMonth8: 80,
                        yearMonth9: 90,
                        yearMonth10: 100,
                        yearMonth11: 110,
                        yearMonth12: 120,
                        yearMonthLast1: 1,
                        yearMonthLast2: 11,
                        yearMonthLast3: 12,
                        yearMonthLast4: 13,
                        yearMonthLast5: 14,
                        yearMonthLast6: 15,
                        yearMonthLast7: 16,
                        yearMonthLast8: 17,
                        yearMonthLast9: 18,
                        yearMonthLast10: 19,
                        yearMonthLast11: 20,
                        yearMonthLast12: 30
                    }
                ],
                monthDetails: [
                    {
                        id: '1',
                        country: '巴西',
                        yearMonth: 150,
                        yearMonthLast: 120,
                        rate: 30.34
                    },
                    {
                        id: '2',
                        country: '俄罗斯',
                        yearMonth: 350,
                        yearMonthLast: 220,
                        rate: 60.34
                    },
                    {
                        id: '3',
                        country: '日本',
                        yearMonth: 250,
                        yearMonthLast: 220,
                        rate: 25.34
                    },
                    {
                        id: '4',
                        country: '韩国',
                        yearMonth: 450,
                        yearMonthLast: 320,
                        rate: 40.34
                    },
                ],
            }
        }
    });
});
module.exports = router;
